You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtx Class > TMtx Methods > Toeplitz Method > TMtx.Toeplitz Method ([In] TVec, [In] TVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtx.Toeplitz Method ([In] TVec, [In] TVec)

Constructs a Toeplitz matrix.

Syntax
C#
Visual Basic
public TMtx Toeplitz([In] TVec FirstRow, [In] TVec FirstCol);

Constructs a Toeplitz matrix with first row equal to FirstRow vector and first column equal to FirstCol vector, but without the first element. The Rows, Cols and TMtxVec.ComplexComplex properties of the calling matrix are adjusted automatically. An exception is raised if FirstRow and FirstCol Complex properties do not match.

var V1,V2: TVec; T: TMtx; begin CreateIt(V1,V2); CreateIt(T); try V1.SetIt(False,[1,2,3,4]); V2.SetIt(False,[2,3,4]); T.Toeplitz(V1,V2); // T becomes: //[1 2 3 4] //[2 1 2 3] //[3 2 1 2] //[4 3 2 1] finally FreeIt(T); FreeIt(V1,V2); end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!